SettingsService

Constructors

Link copied to clipboard
constructor(client: PocketbaseClient)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun generateAppleClientSecret(clientId: String, teamId: String, keyId: String, privateKey: String, duration: Long): String

Generates a new Apple OAuth2 client secret key.

Link copied to clipboard
inline suspend fun <T> getAll(fields: ShowFields = ShowFields()): T

Returns a list with all available application settings.

Link copied to clipboard
suspend fun testEmail(toEmail: String, emailTemplate: String): Boolean

Sends a test user email.

Link copied to clipboard
suspend fun testS3(): Boolean

Performs a S3 storage connection test.

Link copied to clipboard
inline suspend fun <T> update(body: String, fields: ShowFields = ShowFields()): T

Bulk updates application settings and returns the updated settings list.